//
//  LIUTheme.m
//  EasyNotes
//
//  Created by 劉裕 on 12/6/2016.
//  Copyright © 2016年 劉裕. All rights reserved.
//

#import "LIUTheme.h"

@implementation LIUTheme

- (instancetype)initWithDict:(NSDictionary *)dict {
    if (self = [super init]) {
        self.itemId = dict[@"itemId"];
        self.itemName = dict[@"itemName"];
    }
    return self;
}

+ (instancetype)itemWithDict:(NSDictionary *)dict {
    return [[self alloc] initWithDict:dict];
}
@end
